<include file="public@header"/>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:url('Mail/add')}">添加站点邮箱</a></li>
        <li><a href="{:url('Mail/mailboxList')}">我的邮箱</a></li>
    </ul>
    <form action="{:url('Mail/add')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
        <div class="row">
            <div class="col-md-5">
                <table class="table table-bordered">
                    <tr>
                        <th><span class="form-required">*</span>邮箱账号</th>
                        <td>
                            <input class="form-control" type="text" name="mailbox_name" required
                                   placeholder="请输入邮箱账号">
                        </td>
                    </tr>
                    <tr>
                        <th><span class="form-required">*</span>邮箱密码</th>
                        <td>
                            <input class="form-control" type="text" name="mailbox_password" required
                                   placeholder="请输入邮箱密码">
                        </td>
                    </tr>
                    <tr>
                        <th><span class="form-required">*</span>邮箱类型</th>
                        <td>
                            <input class="form-control" type="text" name="mailbox_type" required
                                   placeholder="qq or gmail">
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <button type="submit" class="btn btn-primary">{:lang("save")}</button>
        <a class="btn btn-default" href="{:url('Mail/add')}">取消</a>
    </form>
</div>